<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Notifyaff extends CI_Controller {

	var $per_page;	

	public function __construct()
	{
		parent::__construct();

		$logged_in = $this->session->userdata('logged_in');
		if($logged_in)
		{
		   $session_data = $this->session->userdata('logged_in');
		   $data['username'] = $session_data['username'];		   
		}
		else
		{
	     //If no session, redirect to login page
	     redirect('login', 'refresh');
   		}   	

		$this->template->set('nav', $this->uri->segment(1));
		$this->template->set('title', 'Cộng tác viên');
		$this->template->set('section', 'Thông báo');				
	}	

	public function index()
	{
		$this->template->load_main('admin/template','admin/notifyaff');
	}

	public function search()
	{
		$this->template->load_main('admin/template','admin/notifyaff');
	}

}		